import request from "@/utils/request";
export default {
    addOrderApi(courseId){
        return request({
            method: 'post',
            url: `/order/${courseId}`
        })
    },
    queryOrderByIdApi(courseId) {
        return request({
            method: 'get',
            url: `/order/${courseId}`
        })
    },
    payApi(orderId) {
        return request({
            method: 'post',
            url: `/pay/${orderId}`
        })
    }
}